package com.yyp.dao;

import java.io.Serializable;
import java.util.List;

import com.yyp.bean.DeviceInfo;

public interface DeviceInfoDao {

	public abstract void delete(Serializable names);

	public abstract void delete(Integer id);

	public abstract DeviceInfo find(Integer id);

	public abstract DeviceInfo find(String name);

	public abstract void save(Object entity);

	public abstract List<DeviceInfo> findAll();

	public abstract void updata(Object entity);

}